package com.redpacketcover.rc.bean

import java.io.Serializable

data class GoodsRecord (
        val id: Int,
        val img: String,
        val title: String,
        val price: Double,
        val oldPrice: Double,
        val tagArr: List<TagRecords>,
        val transportFee: Double,
        val stockCount: Int,
        val approveState: Int,
        val detail: String,
        val brief: String?,
        val createDate: Any,
        val demandType: Int,
        val discount: Double,
        val goodsState: Int,
        val sortLevel: Double,
        val normList: List<NormRecord>,
        val imageLibList: List<BannerRecord>,
        val totalCount: Int
): Serializable{
    data class BannerRecord(
            val id: Int,
            val type: Int,
            val foreignKey: Int,
            val pic: String,
            val createDate: Any
    ): Serializable
    data class NormRecord(
            val id: Int,
            val goodsId: Int,
            val title: String,
            val price: Double,
            val totalCount: Int
    ): Serializable
    data class TagRecords (
        val title:String
    ): Serializable
}


